<?php

include_once ('com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once ('com/alibaba/openapi/client/entity/ByteArray.class.php');
include_once ('FenxiaoWarehouseQueryOrderDetailParam/AlibabaCbuLinkorderModelCloudWarehouseOrderDTO.class.php');

class AlibabaCbuCommonModelResultCloudWarehouseOrderDTO extends SDKDomain {

       	
    private $data;
    
        /**
    * @return 返回结果	
    */
        public function getData() {
        return $this->data;
    }
    
    /**
     * 设置返回结果	     
     * @param AlibabaCbuLinkorderModelCloudWarehouseOrderDTO $data     
     * 参数示例：<pre>{}</pre>     
     * 此参数必填     */
    public function setData(AlibabaCbuLinkorderModelCloudWarehouseOrderDTO $data) {
        $this->data = $data;
    }
    
        	
    private $errorCode;
    
        /**
    * @return 错误编码	
    */
        public function getErrorCode() {
        return $this->errorCode;
    }
    
    /**
     * 设置错误编码	     
     * @param String $errorCode     
     * 参数示例：<pre>101</pre>     
     * 此参数必填     */
    public function setErrorCode( $errorCode) {
        $this->errorCode = $errorCode;
    }
    
        	
    private $errorInfo;
    
        /**
    * @return 错误信息	
    */
        public function getErrorInfo() {
        return $this->errorInfo;
    }
    
    /**
     * 设置错误信息	     
     * @param String $errorInfo     
     * 参数示例：<pre>系统异常</pre>     
     * 此参数必填     */
    public function setErrorInfo( $errorInfo) {
        $this->errorInfo = $errorInfo;
    }
    
        	
    private $success;
    
        /**
    * @return 接口调用结果	
    */
        public function getSuccess() {
        return $this->success;
    }
    
    /**
     * 设置接口调用结果	     
     * @param Boolean $success     
     * 参数示例：<pre>true</pre>     
     * 此参数必填     */
    public function setSuccess( $success) {
        $this->success = $success;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "data", $this->stdResult )) {
    				$dataResult=$this->stdResult->{"data"};
    				$this->data = new AlibabaCbuLinkorderModelCloudWarehouseOrderDTO();
    				$this->data->setStdResult ( $dataResult);
    			}
    			    		    				    			    			if (array_key_exists ( "errorCode", $this->stdResult )) {
    				$this->errorCode = $this->stdResult->{"errorCode"};
    			}
    			    		    				    			    			if (array_key_exists ( "errorInfo", $this->stdResult )) {
    				$this->errorInfo = $this->stdResult->{"errorInfo"};
    			}
    			    		    				    			    			if (array_key_exists ( "success", $this->stdResult )) {
    				$this->success = $this->stdResult->{"success"};
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    		if (array_key_exists ( "data", $this->arrayResult )) {
    		$dataResult=$arrayResult['data'];
    			    			$this->data = new AlibabaCbuLinkorderModelCloudWarehouseOrderDTO();
    			    			$this->data->setStdResult ( $dataResult);
    		}
    		    	    			    		    			if (array_key_exists ( "errorCode", $this->arrayResult )) {
    			$this->errorCode = $arrayResult['errorCode'];
    			}
    		    	    			    		    			if (array_key_exists ( "errorInfo", $this->arrayResult )) {
    			$this->errorInfo = $arrayResult['errorInfo'];
    			}
    		    	    			    		    			if (array_key_exists ( "success", $this->arrayResult )) {
    			$this->success = $arrayResult['success'];
    			}
    		    	    		}
 
   
}
?>